package com.bw.bean;

import java.sql.Date;

public class Student {
    private String name;
    private Date time;
    private int yf;

    public Student(String name, Date time, int yf) {
        this.name = name;
        this.time = time;
        this.yf = yf;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getYf() {
        return yf;
    }

    public void setYf(int yf) {
        this.yf = yf;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", time=" + time +
                ", yf=" + yf +
                '}';
    }
}
